#ifndef _h_sprite_
#define _h_sprite_

#include "SDL.h"

class Sprite 
{
private:
	int frameWidth;
	int frameHeight;
	int numFrames;
	SDL_Surface* image;
public:
	Sprite();
	~Sprite();
	void initialize(char* filename, int frameWidth, int frameHeight, int numFrames);
	void draw(int x, int y, int frame, SDL_Surface* screen);
	int nextFrame(int frame);
};

#endif 
